package com.gopay.common.user.dao;

import com.gopay.common.base.dao.BaseDAO;
import com.gopay.common.domain.cust.CustSettledConfigInfo;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author lij-jiang
 * @ClassName: CustSettledConfigInfoDao.java
 * @Description: 民生公众号支付商户配置Dao
 * @date 2017年07月21日 15:42
 */
public interface CustSettledConfigInfoDao extends BaseDAO<CustSettledConfigInfo, Serializable> {

    List<CustSettledConfigInfo> findSettledConfigInfoByCustId(String custId);
    
    List<CustSettledConfigInfo> findSettledConfigInfo(String custId,String busType,String channType);

    List<CustSettledConfigInfo> findConfigInfoByCustIdAndChannelType(String custId, String channelType);

    List<CustSettledConfigInfo> findSettledConfigInfo(String custId, String busType);

    CustSettledConfigInfo findSettledKey(String custId);

    void updateCustSettledKey(Map<String, Object> param);

    List<CustSettledConfigInfo> findConfigInfoByCustIdAndStatus(String custId, String status);

    List<CustSettledConfigInfo> findSettledConfigInfos(CustSettledConfigInfo configInfo);


}
